<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2015-8-25
 * Time: 10:13
 */

namespace common\components\services\timedtask;

use frontend\models\datas\Student;
use yii\base\Component;

class Message extends Component
{
    public function send($data)
    {
        $time=time();
echo "-------------------------------------------SUCCESS------------------------------------------，执行时间：$time";
\Yii::error("-------------------------------------------SUCCESS------------------------------------------，执行时间：$time");
    }
}